<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  		<?php echo $this->headTitle() ?>
       	<?php echo $this->headMeta() ?>
		<?php echo $this->headLink() ?>
		<?php echo $this->headScript() ?>
    <script>
		$(document).ready(function(){
			$(".lightbox").lightbox();
		});

	</script>

    <script type="text/javascript">
				$(document).ready(function() {
				setInterval('imageRotator()', 3000);
				});

				function imageRotator() {
					var curImg = $('#imageShow li.current');
					var nextImg = curImg.next();

					if (nextImg.length == 0) {
					nextImg = $('#imageShow li:first');
				};

				curImg.removeClass('current').addClass('previous');
				nextImg.css({opacity:0}).addClass('current').animate({opacity:1}, 1000, function() {
				curImg.removeClass('previous');
			});


			};
     </script>	
 </head>

<body>
<div class="body">
	<div id="top">
    	<div class="site" style="position:relative;">
        	CNTT1-K54
        </div>
    </div>
    
    <div id="banner">
    	<div class="logo">
        	<a href="#"><img src="<?php echo $this->imgUrl;?>/logo.jpg"  width="251px" height="65px"/></a>
        </div>
        <div class="clr"></div>
    </div>

	<div id="menu">
   	  <div class="line-1">
        	<ul class="menu-top">
            	<li class="active">
                	<a href="index" class="menuTop">
                        <span class="menuTL"> </span>
                        <span class="menuTC">Trang chủ</span>
                        <span class="menuTR"> </span>
                    </a>
                </li>
                <li>
                	<a href="newbook" class="menuTop">
                        <span class="menuTL"> </span>
                        <span class="menuTC">Sách mới</span>
                        <span class="menuTR"> </span>
                    </a>
                </li>
                <li>
                	<a href="topbook" class="menuTop">
                        <span class="menuTL"> </span>
                        <span class="menuTC">Sách hay</span>
                        <span class="menuTR"> </span>
                    </a>
                </li>
                <li>
                	<a href="votebook" class="menuTop">
                        <span class="menuTL"> </span>
                        <span class="menuTC">Sách bình chọn</span>
                        <span class="menuTR"> </span>
                    </a>
                </li>
                <li>
                	<a href="help" class="menuTop">
                        <span class="menuTL"> </span>
                        <span class="menuTC">Giúp đỡ</span>
                        <span class="menuTR"> </span>
                    </a>
                </li>
                
                <li>
                	<a href="search" class="menuTop">
                        <span class="menuTL"> </span>
                        <span class="menuTC">Tìm kiếm</span>
                        <span class="menuTR"> </span>
                    </a>
                </li>
                <li>
                	<a href="<?= $this->baseUrl('/admin/login/login');?>" class="menuTop">
                        <span class="menuTL"> </span>
                        <span class="menuTC">Đăng nhập</span>
                        <span class="menuTR"> </span>
                    </a>
                </li>
            </ul>
        </div>
        <div class="line-2"></div>
    </div>